﻿using Core.AbstractEntities;
namespace Core.Interfaces
{
    /// <summary>
    /// Interface of the pile
    /// </summary>
    public interface IHpPile
    {
        /// <summary>
        /// Add element to the list
        /// </summary>
        /// <param name="element">element to add</param>
        void AddElement(HpElement element);
        /// <summary>
        /// Send the element
        /// </summary>
        /// <param name="index">Position of the element in the list</param>
        /// <returns>An element</returns>
        HpElement Get(int index);
    }
}
